
<h1>Add User</h1>
<%= error_messages_for 'user' %>
<fieldset>
    <legend>Enter User Details</legend>

    <% form_for :user do |form| %>
        <p>
            <label for="user_name">UserID:</label>
            <%= form.text_field :name, :size => 40 %>
        </p>
        
        <p>
        <label for="user_password">Password:</label>
        <%= form.password_field :password, :size => 40 %>
        </p>
        
        <p>
        <label for="user_password_confirmation">Confirm:</label>
        <%= form.password_field :password_confirmation, :size => 40 %>
        </p>
        
        <%= submit_tag "Add User", :class => "submit" %>
        
    <% end %>
    
    
</fieldset>
